import request from '@/utils/request'
import { member } from "api/baseUrl"
const organ = member + '/organ'

// 组织架构平行结构
export function organAllList(data) {
  return request({
    url: organ+'/getAllList',
    method: 'post',
    data
  })
}

// 组织架构新增
export function organAdd(data) {
  return request({
    url: organ+'/add',
    method: 'post',
    data
  })
}
// 组织架构编辑
export function organUpdate(data) {
  return request({
    url: organ+'/update',
    method: 'post',
    data
  })
}

// 组织架构删除、批量删除
export function organDel(data) {
  return request({
    url: organ+'/delBatch',
    method: 'post',
    data
  })
}